﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Guoc.BigMall.WebService.Dto
{
   public class LoginDto
    {
        [Required(ErrorMessage = "用户名不能为空!")]
        public string UserName { get; set; }
        [Required(ErrorMessage = "密码不能为空!")]
        public string Password { get; set; }

        public bool RememberMe { get; set; }
        public string IpAddress { get; set; }

        public string ReturnUrl { get; set; }

        /// <summary>
        ///  当前门店
        /// </summary>
        public string StoreCode { get; set; }
    }
}
